package com.easyctba.core.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
public class FiasCascaderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 42L;

    /**
     * 值，NUM
     */
    private Long value;

    /**
     * 标签，num-name
     */
    private String label;

    public FiasCascaderVo(Long value, String label) {
        this.value = value;
        this.label = label;
    }

    /**
     * 子节点
     */
    private List<FiasCascaderVo> children;
}
